toJSON

(alias) pure function toJSON(): json

Deprecated

Use 'to_json' instead

Convert this GTV to a JSON value.

Inverse of gtv.from_json(json).

Alias

Alias target

Return

a JSON value equivalent to this GTV

Since

0.9.0

Throws

exception

if this GTV cannot be converted to a JSON value